home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / mail / newmail3.000 / newmail3 / newmail / newmail.c.patch < prev    next >
Text File  |  1994-09-28  |  558b  |  17 lines

  1. This is a patch for "Newmail, version 3.0, (c) 1991 Steve Creps"
  2. which I made to run under Linux. The basic idea is to add a sound
  3. effect for incoming mail. I use one of the Star Trek clips from the
  4. Trans-Ameritech CD, of a door opening, that sounds a bit like one of those
  5. old pneumatic tube delivery systems dumping a package on my desk.
  6. I forget why I changed the other stuff.
  7.  
  8. *** newmail.c
  9. 22a23
  10. > #include <unistd.h>
  11. 165a167
  12. >             system("play /usr/local/etc/mail.au") ;
  13. 194c196
  14. < static char line[MAXLEN] = NULL;
  15. ---
  16. > static char line[MAXLEN] = " " ;
  17.